﻿<%@ Import Namespace="Model.WWW_WWW.translate" %>
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Web.Control.WWW.translate.my_translate" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
				<div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1>My Translation</h1>
								<div class="copyright"><a href="/translate">Translate</a> > My Translation</div>
							</div>
							<div class="submenuN_button"></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="center9001common">
						<div class="Center9001Content">
							<div class="translate_area">
								<% if (MyTranslate != null) {%>
								<p><strong>Total: <%= ContentCount %></strong></p>
								<table width="100%" border="0" cellspacing="0" cellpadding="3">
									<% foreach (TranslateModel tm in MyTranslate) {%>
									<tr>
										<td class="my_trans_con" width="70%"><a href="/translate/translate.htm?lang=<%= tm.TargetLang %>&id=<%= tm.ItemNo %>"><%= HighLightCode(tm.ItemOText) %></a></td>
										<td class="my_trans_status" width="30%">Translate to <a href="/translate/translate_list.htm?lang=<%= tm.TargetLang %>"><%= GetLangName(tm.TargetLang) %></a></td>
									</tr>
									<%}%>
								</table>
								<%} else {%>
								No Item!
								<%}%>
								<div id="divPage" class="margin20T">
								<%=CreatePageNav(ContentCount, PageSize, PageIndex, "",
								string.Format("<span class='page_none grey10'><a href='{0}/translate/my_translate.htm?p=$I$'>{1}</a></span>&nbsp;",WWWHost, HttpUtility.UrlEncode(GetText("Prev"))),
								"",string.Format("<span class='page_none grey10'><a href='{0}/translate/my_translate.htm?p=$I$'>{1}</a></span>&nbsp;", WWWHost, HttpUtility.UrlEncode(GetText("Next"))),
								string.Format("<span class='page_select'>{0}</span>&nbsp;", PageIndex),
								string.Format("<span class='page_none grey10'><a href='{0}/translate/my_translate.htm?p=$I$'>$I$</a></span>&nbsp;",WWWHost)
								)%>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>